phpDocumentor Web Commons
[ class tree: Web Commons ] [ index: Web Commons ] [ all elements ]

Interface: Request

Source Location: /environment.php

Interface Request

Interface Overview

Provides access to request parameters.

Located in /environment.php [line 61]



		
				Author(s):
		
Information Tags:
Since:  0.1

Methods

[ Top ]
Method Summary
mixed   get()   Returns the GET parameter corresponding to $key, or $default if this key is not defined.
string   method()   Returns the request method, uppercased.
mixed   post()   Returns the POST parameter corresponding to $key, or $default if this key is not defined.

[ Top ]
Methods
get  [line 78]

  mixed get( string $key, [mixed $default = Null]  )

Returns the GET parameter corresponding to $key, or $default if this key is not defined.

Parameters:
string   $key: 
mixed   $default: 

Information Tags:
Since:  0.1

[ Top ]
method  [line 67]

  string method( )

Returns the request method, uppercased.


Information Tags:
Since:  0.1

[ Top ]
post  [line 89]

  mixed post( string $key, [mixed $default = Null]  )

Returns the POST parameter corresponding to $key, or $default if this key is not defined.

Parameters:
string   $key: 
mixed   $default: 

Information Tags:
Since:  0.1

[ Top ]

Documentation generated on Fri, 16 Jul 2010 00:48:39 +0200 by phpDocumentor 1.4.3